package com.job.client.posts.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.job.client.common.result.ResponseResult;
import com.job.client.model.posts.pojo.Posts;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 职位的详细信息表 服务类
 * </p>
 *
 * @author fkl
 * @since 2023-12-07
 */
public interface PostsService extends IService<Posts> {

    ResponseResult savePosts(Posts posts, HttpServletRequest request);

    ResponseResult getPostsInfo(String postsId);

    ResponseResult getByCompanyId(String companyId);

    ResponseResult getByCompanyIdByPage(String companyId, Integer page, Integer size);


    ResponseResult getAllInfoList(List<String> postsIds);

    ResponseResult getByUserIdByPage(String userId, Integer page, Integer size);

    ResponseResult getCountByCompanyId(String companyId);
}
